<?php
if(isset($_GET['PHPSESSID'])){
    session_id($_GET['PHPSESSID']);
}
session_start();
//$sessid=session_id();
echo "购物大厅<br/>";
echo "<hr/>";
echo "天龙八部  &nbsp;&nbsp;&nbsp; <a href='shopprocess.php?bookid=sn001&bookname=天龙八部&".SID."'>购买</a> <br/>";
echo "水浒传  &nbsp;&nbsp;&nbsp; <a href='shopprocess.php?bookid=sn002&bookname=水浒传 &".SID."'>购买</a> <br/>";
echo "红楼梦  &nbsp;&nbsp;&nbsp; <a href='shopprocess.php?bookid=sn003&bookname=红楼梦&".SID."'>购买</a> <br/>";
echo "西游记  &nbsp;&nbsp;&nbsp; <a href='shopprocess.php?bookid=sn004&bookname=西游记 &".SID."'>购买</a> <br/>";
echo "<a href='showcart.php?".SID."''>查看购物车</a>";
?>